package main;

import restlet.description.convert.RESTConfigurationDescription;
import restlet.description.convert.RESTModuleDescription;

public interface ConfigurationManager {

	public void saveConfiguration(RESTConfigurationDescription configuration,String path)
			throws Throwable;

	public RESTConfigurationDescription loadConfiguration(String path) throws Throwable;

	public void saveModule(RESTModuleDescription module)
			throws Throwable;

	public RESTModuleDescription loadModule(String path) throws Throwable;

	public void saveHandler(String path, String code) throws Throwable;

	public String getHandler(String path) throws Throwable;

}
